<?php /* Smarty version 2.6.14, created on 2014-11-11 15:01:40
         compiled from recommend.relevancelist.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<link href="<?php echo @BASEURI; ?>
public/css/jui/jui.css" type="text/css" rel="stylesheet" />
<div>
    <h1><?php echo $this->_tpl_vars['systemLang']['push']; ?>
</h1>
    <dl id="list">
		<?php $_from = $this->_tpl_vars['content']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row']):
?>
 			<dd data-id="<?php echo $this->_tpl_vars['row']['fid']; ?>
" class="ui-state-default">
	        <table width="100%">
	            <tr>
	                <td width="30%"><img src="<?php echo @IMG_URL;  echo $this->_tpl_vars['row']['pic']; ?>
" /></td>
	                <td width="50%"><?php echo $this->_tpl_vars['row']['name']; ?>
</td>
	                <td width="20%">
                                                【<a onclick="del(<?php echo $this->_tpl_vars['row']['fid']; ?>
)"><?php echo $this->_tpl_vars['systemLang']['cancelPush']; ?>
</a>】
                   </td>
		            </tr>
		        </table>
        	</dd>
        <?php endforeach; endif; unset($_from); ?>
    </dl>
</div>
<script>
    function del(fid){
        $.post("/recommend/recommenddel",{'fid' : fid},function(){
            $('dd[data-id="'+fid+'"]').remove();
        });
    }
</script>